﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Reporting.Domain.RBAC
{
    /// <summary>
    /// 角色
    /// </summary>
    public class Role 
    {
        /// <summary>
        /// 角色ID
        /// </summary>
        [Key]
        public int RoleId { get; set; }
        /// <summary>
        /// 角色名称
        /// </summary>
        public string RoleName { get; set; }
        /// <summary>
        /// 角色描述
        /// </summary>
        public string RoleDescription { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime RoleCreatedAt { get; set; }

        /// <summary>
        /// 权限表（外健）
        /// </summary>
        public string PermissionIdtostring { get; set; }
    }
}
